<?php

use yii\bootstrap\BootstrapAsset;
BootstrapAsset::register($this);

?>

    <select multiple class="form-control" id="kucunsel" style="height: 400px;">
        <?php foreach ($list as $key => $row){ ?>
            <option value="<?= $row['id'] ?>">
                <?= $row['type'] ?>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                重量：<?= $row['weight'] ?>kg&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                单价：<?= $row['price'] ?>元&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                销售单位：<?= $row['unit'] ?></option>
        <?php } ?>
    </select>